package red.lsk.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import red.lsk.common.annotation.Excel;
import red.lsk.common.core.domain.BaseEntity;

/**
 * 消费记录对象 biz_transaction_records
 * 
 * @author ruoyi
 * @date 2024-05-09
 */
public class BizTransactionRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 会员编号 */
    @Excel(name = "会员编号")
    private String memberId;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal transactionAmount;

    /** 账户实时余额 */
    @Excel(name = "账户实时余额")
    private BigDecimal memberBalance;

    /** 交易内容 */
    @Excel(name = "交易内容")
    private String transactionName;

    /** 交易备注 */
    @Excel(name = "交易备注")
    private String transactionInfo;

    /** 会员手机号码 */
    @Excel(name = "会员手机号码")
    private String memberPhone;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMemberId(String memberId) 
    {
        this.memberId = memberId;
    }

    public String getMemberId() 
    {
        return memberId;
    }
    public void setTransactionAmount(BigDecimal transactionAmount) 
    {
        this.transactionAmount = transactionAmount;
    }

    public BigDecimal getTransactionAmount() 
    {
        return transactionAmount;
    }
    public void setMemberBalance(BigDecimal memberBalance) 
    {
        this.memberBalance = memberBalance;
    }

    public BigDecimal getMemberBalance() 
    {
        return memberBalance;
    }
    public void setTransactionName(String transactionName) 
    {
        this.transactionName = transactionName;
    }

    public String getTransactionName() 
    {
        return transactionName;
    }
    public void setTransactionInfo(String transactionInfo) 
    {
        this.transactionInfo = transactionInfo;
    }

    public String getTransactionInfo() 
    {
        return transactionInfo;
    }
    public void setMemberPhone(String memberPhone) 
    {
        this.memberPhone = memberPhone;
    }

    public String getMemberPhone() 
    {
        return memberPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("transactionAmount", getTransactionAmount())
            .append("memberBalance", getMemberBalance())
            .append("transactionName", getTransactionName())
            .append("transactionInfo", getTransactionInfo())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("memberPhone", getMemberPhone())
            .toString();
    }
}
